home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cato / Xm / XmTextFieldPosToXY.z / XmTextFieldPosToXY
Encoding:
Text File  |  2002-10-03  |  3.6 KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeellllddddPPPPoooossssTTTTooooXXXXYYYY((((3333XXXX))))    UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV    XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeellllddddPPPPoooossssTTTTooooXXXXYYYY((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeellllddddPPPPoooossssTTTTooooXXXXYYYY - A TextField function that accesses the
  10.           x and y position of a character position
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.           ####iiiinnnncccclllluuuuddddeeee <<<<XXXXmmmm////TTTTeeeexxxxttttFFFF....hhhh>>>>
  14.  
  15.           BBBBoooooooolllleeeeaaaannnn XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeellllddddPPPPoooossssTTTTooooXXXXYYYY ((((_w_i_d_g_e_t, _p_o_s_i_t_i_o_n, _x, _y))))
  16.                WWWWiiiiddddggggeeeetttt    _w_i_d_g_e_t;;;;
  17.                XXXXmmmmTTTTeeeexxxxttttPPPPoooossssiiiittttiiiioooonnnn_p_o_s_i_t_i_o_n;;;;
  18.                PPPPoooossssiiiittttiiiioooonnnn  *_x;;;;
  19.                PPPPoooossssiiiittttiiiioooonnnn  *_y;;;;
  20.  
  21.  
  22.      VVVVEEEERRRRSSSSIIIIOOOONNNN
  23.           This page documents version 1.2 of the Motif library.
  24.  
  25.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  26.           XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeellllddddPPPPoooossssTTTTooooXXXXYYYY accesses the x and y position, relative
  27.           to the upper left corner of the TextField widget, of a given
  28.           character position in the text buffer.
  29.  
  30.  
  31.           _w_i_d_g_e_t Specifies the TextField widget ID
  32.  
  33.           _p_o_s_i_t_i_o_n
  34.                  Specifies the character position in the text for
  35.                  which the x and y position is accessed.  This is an
  36.                  integer number of characters from the beginning of
  37.                  the buffer.  The first character position is 0.
  38.  
  39.           _x      Specifies the pointer in which the x position,
  40.                  relative to the upper left corner of the widget, is
  41.                  returned.  This value is meaningful only if the
  42.                  function returns True.
  43.  
  44.           _y      Specifies the pointer in which the y position,
  45.                  relative to the upper left corner of the widget, is
  46.                  returned.  This value is meaningful only if the
  47.                  function returns True.
  48.  
  49.  
  50.           For a complete definition of TextField and its associated
  51.           resources, see XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeelllldddd((((3333XXXX)))).
  52.  
  53.      RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
  54.           This function returns True if the character position is
  55.           displayed in the TextField widget; otherwise, it returns
  56.           False, and no _x or _y value is returned.
  57.  
  58.      RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
  59.           XXXXmmmmTTTTeeeexxxxttttFFFFiiiieeeelllldddd((((3333XXXX)))).
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 4/30/98)
  64.  
  65.  
  66.  
  67.